package service

import (
	_ "errors"
	"github.com/gin-gonic/gin"
	"modulename/dao"
	_ "modulename/model/entity"
	"modulename/model/response"
	_ "net/http"
)

// SelectAll
// @tags student
// @Summary 获取所有学生
// @Success 200 {array} entity.Student "success"
// @Router /student/all [get]
func SelectAll(ctx *gin.Context) {
	data := dao.SelectAll()
	response.Success(ctx, data)
}
